﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebApp.Models
{
    /// <summary>
    /// 命令相应同步返回
    /// </summary>
    public class IoTCmdResult
    {
        /// <summary>
        /// 状态
        /// </summary>
        public IoTCmdStatus Status { get; set; }
        /// <summary>
        /// 可以查询的命令Id
        /// </summary>
        public string QueryId { get; set; }
        /// <summary>
        /// 错误消息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 执行时间
        /// </summary>
        public DateTime ExecuteTime { get; set; }
        /// <summary>
        /// Power,Message,MeterStatus
        /// </summary>
        public Dictionary<string, dynamic> Data { get; set; }
    }
}
